import { ReadResourceRequestSchema } from "@modelcontextprotocol/sdk/types.js";

const requestParams = {
  method: "resources/read",
  params: {
    uri: "bananaphone://info",
  },
};

const result = ReadResourceRequestSchema.safeParse(requestParams);

if (result.success) {
  console.log("校验通过");
} else {
  console.log("校验失败");
}
